import React, { FC } from "react";
import { Table } from "antd";
import { TableProps } from "antd/lib/table";
import { omit } from 'lodash'
import "./index.scss"

const exclude = ['size']
const IMTable: FC<TableProps<any>> = (props) => {
    const excludeProps = omit(props, ...exclude)
    return <Table {...excludeProps} size="small" />;
}

export default IMTable